package maca.demo.service;

import android.app.Service;
import android.content.Intent;
import android.content.res.Configuration;
import android.os.Debug;
import android.os.IBinder;
import android.util.Log;

public class ServiceDemo extends Service
{

	@Override
	public IBinder onBind(Intent arg0)
	{
		Log.i("Maca", "onBind");
		return null;
	}

	@Override
	public void onConfigurationChanged(Configuration newConfig)
	{
		Log.i("Maca", "onConfigurationChanged");
		super.onConfigurationChanged(newConfig);
	}

	@Override
	public void onCreate()
	{
		Log.i("Maca", "onCreate");
		super.onCreate();
	}

	@Override
	public void onDestroy()
	{
		// TODO Auto-generated method stub
		Log.i("Maca", "onDestroy");
		super.onDestroy();
	}

	@Override
	public void onRebind(Intent intent)
	{
		// TODO Auto-generated method stub
		Log.i("Maca", "onRebind");
		super.onRebind(intent);
	}

	@Override
	public void onStart(Intent intent, int startId)
	{
		// TODO Auto-generated method stub
		Log.i("Maca", "onStart");
		super.onStart(intent, startId);
	}

	@Override
	public int onStartCommand(Intent intent, int flags, int startId)
	{
		// TODO Auto-generated method stub
		Log.i("Maca", "onStartCommand  id= "+startId);
		return super.onStartCommand(intent, flags, startId);
	}

	@Override
	public void onTaskRemoved(Intent rootIntent)
	{
		// TODO Auto-generated method stub
		Log.i("Maca", "onTaskRemoved");
		super.onTaskRemoved(rootIntent);
	}

	@Override
	public boolean onUnbind(Intent intent)
	{
		// TODO Auto-generated method stub
		Log.i("Maca", "onUnbind");
		return super.onUnbind(intent);
	}

}
